package ModelLag;

/**
 * Modelklasse for Shift.
 * @author DM75 Gruppe 3
 * @version 2011-12-22
 */
public class Shift 
{
    private String startTime;
    private String endTime;
    private double hours;
    private Employee employee;
    private WorkingPlan workingPlan;
    
    
    public Shift (Employee employee, String startTime, String endTime, double hours, WorkingPlan workingPlan)
        {
            this.startTime = startTime;
            this.endTime = endTime;
            this.hours = hours;
            this.employee = employee;
            this.workingPlan = workingPlan;
        }
    public Shift()
    {
        
    }
    
    public void setStartTime(String startTime)
    {
        this.startTime = startTime;
    }

    public String getStartTime()
    {
        return startTime;
    }
    public void setEndTime(String endTime)
    {
        this.endTime = endTime;
    }

    public String getEndTime()
    {
        return endTime;
    }
    
    public void setHours(double hours)
    {
        this.hours = hours;
    }

    public double getHours()
    {
        return hours;
    }

    public Employee getEmployee() 
    {
        return employee;
    }

    public void setEmployee(Employee employee) 
    {
        this.employee = employee;
    }
    
    public WorkingPlan getWorkingPlan() 
    {
        return workingPlan;
    }

    public void setWorkingPlan(WorkingPlan workingPlan) 
    {
        this.workingPlan = workingPlan;
    }
    
    
}
